package com.xyzm.demo.dmhr.service.impl;

import com.xyzm.demo.dmhr.entity.City;
import com.xyzm.demo.dmhr.mapper.CityMapper;
import com.xyzm.demo.dmhr.service.ICityService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yy
 * @since 2021-08-15
 */
@Service
public class CityServiceImpl extends ServiceImpl<CityMapper, City> implements ICityService {

	@Override
	public IPage<City> selectByPage(Page<City> cityPage, QueryWrapper<City> queryWrapper) {
		IPage<City> selectPage = baseMapper.selectPage(cityPage, queryWrapper);
		return selectPage;
	}

	

}
